<extend name="Public/base" />

<block name="style" >
    <style>
        .user_table{
            border: 1px solid #ddd;
            width: 180px;
        }
        .user_table tr{
            border: 1px solid #dddddd;
            height: 30px;
        }
        .user_table td{
            border: 1px solid #dddddd;
            width: 90px;
            text-align: center;
        }
    </style>
</block>

<block name="body">
    <!-- 弹窗插件 -->
    <include file="Public:artdialog" />
    <!-- 表单验证插件 -->
    <include file="Public:validform" />

    <form action="{:U('saveSpecialOffer')}" method="post" role="form" class="form-horizontal row-border vform" >

        <input type="hidden" name="oldid" value="{$list['pb_id']}">
        <div class="row">
            <div class="col-md-12">
                <div class="block-web">
                    <div class="header">
                        <h3 class="content-header">修改包裹</h3>
                    </div>
                    <div class="porlets-content">

                         <div class="form-group">
                            <label class="col-sm-3 control-label"><font class="red">*</font>包裹名</label>
                            <div class="col-sm-3">
                                <input type="text"  name="username"  class="form-control " datatype="*" nullmsg="请输入包裹名" value="{$list.parcelname}" />
                                <div class="Validform_checktip"></div>
                            </div>
                        </div>

                        <div class="form-group" >
                            <label class="col-sm-3 control-label"><font class="red">*</font>是否有效</label>
                            <div class="col-sm-6">
                                <if condition="$list.isactive eq 1 ">
                                     <label class="radio-inline">
                                        <input type="radio"  name="in_or_out" value="1" checked="cheked">
                                        <span class="custom-radio"></span> 有效
                                    </label>
                                    <label class="radio-inline">
                                        <input type="radio"    name="in_or_out" value="0" >
                                        <span class="custom-radio"></span> 无效
                                    </label>
                                <else />
                                     <label class="radio-inline">
                                        <input type="radio"  name="in_or_out" value="1" >
                                        <span class="custom-radio"></span> 有效
                                    </label>
                                    <label class="radio-inline">
                                        <input type="radio"    name="in_or_out" value="0"checked="cheked" >
                                        <span class="custom-radio"></span> 无效
                                    </label>
                                </if>
                            </div>
                        </div>


                        <div class="form-group">
                            <label class="col-sm-3 control-label"><font class="red">*</font>数量</label>
                            <div class="col-sm-6">
                                <input type="number" min="0" name="money"  placeholder="请输入包裹数量" class="form-control" datatype="*" value="{$list.number}" nullmsg="请输入红冲金额" />
                                <div class="Validform_checktip"></div>
                            </div>
                        </div>

                        <div class="form-group">
                            <label class="col-sm-3 control-label"></label>
                            <button class="btn btn-primary btn-success bt_submit" type="submit" id="submit">提交</button>
                        </div>
                    </div><!--/porlets-content-->
                </div><!--/block-web-->
            </div>

        </div>

    </form>




</block>
<block name="script">


</block>
